
// 查询条件
export const defaultConfig = {
    search: '查询',
    labelWidth:'70px',
    tr: [
      {
        td:[
          {
            label: '标题',
            name: 'searchTitle',
            rule: '',
            ref:'input',
            autofocus:true
          },
          {
            label: '发布人',
            name: 'searchReleaseName',
            rule: ''
          },
          {
            label: '开始日期',
            name: 'startReleaseDate',
            placeholder:'发布开始日期',
            rule: '',
            date:true,
            type:'date'
          },
          {
            label: '结束日期',
            name: 'endReleaseDate',
            placeholder:'发布结束日期',
            rule: '',
            date:true,
            type:'date'
          },

        ]
      }
    ]

}

// 按钮
export const btnData = [{
  type:'primary',
  text:'新增',
  icon:'el-icon-edit',
  btnUrl:'ANNUNCIATE_MENU_INSERT',
  state:3,
  loading:false
}]

// 列表项
export const tableConfig = {
    columns:[{
      label: '标题',
      prop: 'title',
      width: '180',
      align:'center'
  }, {
      label: '发布人',
      prop: 'releaseName',
      width: '80',
      align:'center'
  },
  {
      label: '发布单位',
      prop: 'organName',
      width: 'auto',
      minWidth:'180'
  },
  {
    label: '发布时间',
    prop: 'createDate',
    width: '180'
  },
  {
    label: '状态',
    prop: 'status',
    width: '80',
    align:'center',
    showClass:true
  }]
}

export const editConfig = {
    isDataFromScope: true
}

